package cn.model;

import java.io.File;
import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java.util.Properties;

import Tools.Tool;

public class NetService {
	private int xp=15;
	private String ad;
	
	public NetService() {
		Properties pro=new Properties();
		
		try {
		pro.load(Tool.getFileInputStream("net.properties"));
	
		System.out.println(pro.get("url"));
		} catch (Exception e) {
			e.printStackTrace();
		}
	}
	
	public void connect()
	{
		
	}
	
	public static void main(String[] args) {
		new NetService();
	}
}
